/libcore/luni/src/main/java/org/apache/harmony/security/ |
H A D | PrivateKeyImpl.java | 35 private byte[] encoding; field in class:PrivateKeyImpl 51 byte[] toReturn = new byte[encoding.length]; 52 System.arraycopy(encoding, 0, toReturn, 0, encoding.length); 61 public void setEncoding(byte[] encoding) { argument 62 this.encoding = new byte[encoding.length]; 63 System.arraycopy(encoding, 0, this.encoding, 0, encoding [all...] |
H A D | PublicKeyImpl.java | 35 private byte[] encoding; field in class:PublicKeyImpl 56 byte[] result = new byte[encoding.length]; 57 System.arraycopy(encoding, 0, result, 0, encoding.length); 67 public void setEncoding(byte[] encoding) { argument 68 this.encoding = new byte[encoding.length]; 69 System.arraycopy(encoding, 0, this.encoding, 0, encoding [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | ExtensionValue.java | 28 protected byte[] encoding; field in class:ExtensionValue 34 public ExtensionValue(byte[] encoding) { argument 35 this.encoding = encoding; 40 return encoding; 45 if (encoding == null) { 46 encoding = getEncoded(); 48 if (encoding == null) { 51 sb.append(Array.toString(encoding, prefix));
|
H A D | InhibitAnyPolicy.java | 44 public InhibitAnyPolicy(byte[] encoding) throws IOException { argument 45 super(encoding); 47 ASN1Integer.getInstance().decode(encoding)).intValue(); 54 if (encoding == null) { 55 encoding = ASN1Integer.getInstance() 58 return encoding;
|
H A D | SubjectKeyIdentifier.java | 53 public static SubjectKeyIdentifier decode(byte[] encoding) argument 56 ASN1OctetString.getInstance().decode(encoding)); 57 res.encoding = encoding; 69 if (encoding == null) { 70 encoding = ASN1OctetString.getInstance().encode(keyIdentifier); 72 return encoding;
|
H A D | AlternativeName.java | 46 public AlternativeName(boolean which, byte[] encoding) throws IOException { argument 47 super(encoding); 49 this.alternativeNames = (GeneralNames) GeneralNames.ASN1.decode(encoding); 56 if (encoding == null) { 57 encoding = GeneralNames.ASN1.encode(alternativeNames); 59 return encoding;
|
H A D | CRLNumber.java | 43 public CRLNumber(byte[] encoding) throws IOException { argument 44 super(encoding); 45 number = new BigInteger((byte[]) ASN1.decode(encoding)); 59 if (encoding == null) { 60 encoding = ASN1.encode(number.toByteArray()); 62 return encoding;
|
H A D | InvalidityDate.java | 41 public InvalidityDate(byte[] encoding) throws IOException { argument 42 super(encoding); 43 date = (Date) ASN1.decode(encoding); 64 if (encoding == null) { 65 encoding = ASN1.encode(date); 67 return encoding;
|
H A D | KeyUsage.java | 67 public KeyUsage(byte[] encoding) throws IOException { argument 68 super(encoding); 69 this.keyUsage = (boolean[]) ASN1.decode(encoding); 77 if (encoding == null) { 78 encoding = ASN1.encode(keyUsage); 80 return encoding;
|
H A D | CertificatePolicies.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 49 private byte[] encoding; field in class:CertificatePolicies 56 public static CertificatePolicies decode(byte[] encoding) throws IOException { argument 57 CertificatePolicies cps = ((CertificatePolicies) ASN1.decode(encoding)); 58 cps.encoding = encoding; 62 private CertificatePolicies(List<PolicyInformation> policyInformations, byte[] encoding) { argument 64 this.encoding = encoding; 75 encoding [all...] |
H A D | CRLDistributionPoints.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 69 private byte[] encoding; field in class:CRLDistributionPoints 71 private CRLDistributionPoints(List<DistributionPoint> distributionPoints, byte[] encoding) { argument 76 this.encoding = encoding; 80 if (encoding == null) { 81 encoding = ASN1.encode(this); 83 return encoding; 86 public static CRLDistributionPoints decode(byte[] encoding) throws IOException { argument 87 return (CRLDistributionPoints) ASN1.decode(encoding); [all...] |
H A D | AccessDescription.java | 27 * The class encapsulates the ASN.1 DER encoding/decoding work 46 private byte[] encoding; field in class:AccessDescription 48 private AccessDescription(String accessMethod, GeneralName accessLocation, byte[] encoding) { argument 51 this.encoding = encoding; 58 if (encoding == null) { 59 encoding = ASN1.encode(this); 61 return encoding;
|
H A D | EDIPartyName.java | 32 * The class encapsulates the ASN.1 DER encoding/decoding work 60 private byte[] encoding; field in class:EDIPartyName 62 private EDIPartyName(String nameAssigner, String partyName, byte[] encoding) { argument 65 this.encoding = encoding; 72 if (encoding == null) { 73 encoding = ASN1.encode(this); 75 return encoding;
|
H A D | OtherName.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 54 private byte[] encoding; field in class:OtherName 60 private OtherName(String typeID, byte[] value, byte[] encoding) { argument 63 this.encoding = encoding; 77 if (encoding == null) { 78 encoding = ASN1.encode(this); 80 return encoding;
|
H A D | PrivateKeyUsagePeriod.java | 33 * The class encapsulates the ASN.1 DER encoding/decoding work 53 private byte[] encoding; field in class:PrivateKeyUsagePeriod 59 private PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate, byte[] encoding) { argument 62 this.encoding = encoding; 83 if (encoding == null) { 84 encoding = ASN1.encode(this); 86 return encoding;
|
H A D | ORAddress.java | 30 * The class encapsulates the ASN.1 DER encoding/decoding work 51 private byte[] encoding; field in class:ORAddress 57 if (encoding == null) { 58 encoding = ASN1.encode(this); 60 return encoding;
|
H A D | GeneralNames.java | 34 * The class encapsulates the ASN.1 DER encoding/decoding work 53 private byte[] encoding; field in class:GeneralNames 63 private GeneralNames(List<GeneralName> generalNames, byte[] encoding) { argument 65 this.encoding = encoding; 104 encoding = null; 115 if (encoding == null) { 116 encoding = ASN1.encode(this); 118 return encoding;
|
H A D | InfoAccessSyntax.java | 28 * The class encapsulates the ASN.1 DER encoding/decoding work 50 private InfoAccessSyntax(List<?> accessDescriptions, byte[] encoding) throws IOException { argument 55 this.encoding = encoding; 62 if (encoding == null) { 63 encoding = ASN1.encode(this); 65 return encoding; 68 public static InfoAccessSyntax decode(byte[] encoding) throws IOException { argument 69 return ((InfoAccessSyntax) ASN1.decode(encoding));
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | Locator2Impl.java | 29 private String encoding; field in class:Locator2Impl 43 * <em>encoding</em> and <em>version</em>strings are copied, 55 encoding = l2.getEncoding (); 74 * Returns the current value of the encoding property. 76 * @return the current value of the encoding property. 81 { return encoding; } 98 * Assigns the current value of the encoding property. 100 * @param encoding the new "encoding" value 103 public void setEncoding (String encoding) argument [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | PolicyQualifierInfoTest.java | 76 // get valid encoding 77 byte[] encoding = getDerEncoding(); 79 encoding[1] = (byte)0x27; 83 new PolicyQualifierInfo(encoding); 89 // get valid encoding 90 encoding = getDerEncoding(); 93 encoding[2] = (byte)13; 96 new PolicyQualifierInfo(encoding); 110 // get valid encoding 111 byte[] encoding [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyFailingCertPath.java | 7 public MyFailingCertPath(byte[] encoding) { argument 8 super(encoding);
|
H A D | MyCertPath.java | 50 * my cert path the only encoding 52 private final byte[] encoding; field in class:MyCertPath 58 public MyCertPath(byte[] encoding) { argument 60 this.encoding = encoding; 62 certificates.add(new MyCertificate("MyEncoding", encoding)); 81 return encoding.clone(); 86 * <code>encoding</code> parameter 88 * if <code>encoding</code> not equals "MyEncoding" 91 public byte[] getEncoded(String encoding) argument [all...] |
H A D | MyFailingCertificate.java | 7 public MyFailingCertificate(String type, byte[] encoding) { argument 8 super(type, encoding);
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
H A D | AuthenticatedAttributes.java | 35 private byte[] encoding; field in class:AuthenticatedAttributes 38 private AuthenticatedAttributes(byte[] encoding, argument 40 this.encoding = encoding; 52 if (encoding == null) { 53 encoding = ASN1.encode(this); 55 return encoding;
|
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | InputSource.java | 24 * with a specified encoding), and/or a character stream.</p> 34 * encoding declaration found in that stream. 37 * encoding specified in the InputSource or else (if no encoding is 38 * specified) autodetecting the character encoding using an algorithm 81 * the character encoding, if known.</p> 105 * character encoding.</p> 181 * <p>If the application knows the character encoding of the 183 * the encoding using the setEncoding method.</p> 203 * <p>The getEncoding method will return the character encoding 272 setEncoding(String encoding) argument 332 private String encoding; field in class:InputSource [all...] |