Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecretKey
Uma chave secreta (simétrica).
Esta interface não contém métodos ou constantes. Seu único propósito é o de agrupar chaves secretas (e prover segurança de tipos).
As implementações desta interface pelos provedores devem sobreescrever os métodos
equals e hashCode herdados de
java.lang.Object, de modo que as chaves secretas sejam comparadas segundo o
material de chave subjacente e não por suas referências.
Chaves que implementam esta interface retornam a string RAW
como seu formato de codificação (veja getFormat) e retornam os bytes da chave
não processados como resultado da chamada ao método getEncoded method call.
(Os métodos
getFormat e getEncoded são herdados da interface-pai
java.security.Key.)
SecretKeyFactory,
Cipher| Field Summary | |
|---|---|
static long |
serialVersionUID
A impressão digital da classe que indica compatibilidade de serialização desde o J2SE 1.4. |
| Method Summary |
|---|
| Methods inherited from interface java.security.Key |
|---|
getAlgorithm, getEncoded, getFormat |
| Field Detail |
|---|
static final long serialVersionUID
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.