blob: 62f299cf1c876085e6a092a00ceaab97042788e0 [file] [log] [blame]
Richard S. Hall70b28fb2006-10-18 22:05:15 +00001/*
2 * $Header: /cvshome/build/ee.foundation/src/java/security/Certificate.java,v 1.6 2006/03/14 01:20:26 hargrave Exp $
3 *
4 * (C) Copyright 2001 Sun Microsystems, Inc.
5 * Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package java.security;
21public abstract interface Certificate {
22 public abstract void decode(java.io.InputStream var0) throws java.security.KeyException, java.io.IOException;
23 public abstract void encode(java.io.OutputStream var0) throws java.security.KeyException, java.io.IOException;
24 public abstract java.lang.String getFormat();
25 public abstract java.security.Principal getGuarantor();
26 public abstract java.security.Principal getPrincipal();
27 public abstract java.security.PublicKey getPublicKey();
28 public abstract java.lang.String toString(boolean var0);
29}
30